package com.cdtye.shuoh.domain.rule.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.cdtye.common.mybatiscore.base.BaseVo;
import com.cdtye.shuoh.domain.rule.entity.RuleConditions;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class RuleVo extends BaseVo {

    @ApiModelProperty(value = "规则标识")
    private String ruleIdentification;

    @ApiModelProperty(value = "规则名称")
    private String ruleName;

    @ApiModelProperty(value = "状态 0：禁用，1启用")
    private String state;

    @ApiModelProperty(value = "触发机制（0:全部，1:任意一个）")
    private String triggering;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "产品标识")
    private String productIdentification;

    @ApiModelProperty(value = "服务ID")
    private String serviceId;

    @ApiModelProperty(value = "规则类型：0：全部设备 1：指定设备")
    private String ruleType;

    @ApiModelProperty(value = "规则条件列表")
    private List<RuleConditions> conditionsList;

}
